package com.qing.service.impl;
import com.qing.domain.UserLoginLog;
import com.qing.service.LoginLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.qing.dao.*;

@Service
public class LoginLogServiceImpl implements LoginLogService {
    private final UserLoginLogDao userLoginLogDao;
    @Autowired
    public LoginLogServiceImpl(UserLoginLogDao userLoginLogDao){this.userLoginLogDao=userLoginLogDao;}

    public void addUserLoginLog(UserLoginLog userLoginLog){
        userLoginLogDao.addUserLoginLog(userLoginLog);
    }
    public void listAllUserLoginLog(){
        userLoginLogDao.listAllUserLoginLog();
    }
}
